package com.xxr.mom.ci.charging.interworking.vo.api;

import com.alibaba.fastjson.annotation.JSONField;
import com.xxr.mom.ci.charging.interworking.vo.PolicyInfo;
import lombok.Data;

import java.util.List;

/**
 * 查询业务策略信息结果请求参数
 *
 * @description: QueryEquipBusinessPolicyRequest
 * @date: 2024/8/13 22:21
 * @author: natsuki_kining
 * @version: 1.0
 */
@Data
public class QueryEquipBusinessPolicyResponse {

    /**
     * 业务策略查询流水号
     */
    @JSONField(name = "EquipBizSeq")
    private String equipBizSeq;

    /**
     * 充电设备接口编码
     */
    @JSONField(name = "ConnectorID")
    private String connectorId;

    /**
     * 操作结果
     *
     * 0：成功
     * 1：失败
     */
    @JSONField(name = "SuccStat")
    private Integer succStat;

    /**
     * 失败原因
     *
     * 0：无
     * 1：此充电桩业务策略不存在
     */
    @JSONField(name = "FailReason")
    private Integer failReason;

    /**
     * 时段数N
     *
     * 范围：0~32
     */
    @JSONField(name = "SumPeriod")
    private Integer sumPeriod;

    /**
     * 计费信息
     */
    @JSONField(name = "PolicyInfos")
    private List<PolicyInfo> policyInfos;
}
